AdTribes\PFP\Classes\Notices C

Total Complexity 121
Dependencies 3
Dependents 2
Total lines 835
Lines of code 467
Logical lines of code 199
Comment lines 264
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
get_all_admin_notices()
A
47 13 33
display_notices()
A
49 12 28
ajax_mark_all_read()
A
45 10 41
ajax_dismiss_admin_notice()
A
56 10 16
_schedule_single_notice_cron()
A
54 9 20
enqueue_admin_notice_scripts()
A
48 8 34
ajax_mark_notice_read()
A
53 8 22
_get_cron_notices()
S
37 1 96
get_relative_time()
S
54 6 21
reschedule_notice_cron()
S
57 5 16
print_admin_notice_content()
S
51 4 27
update_notice_option()
S
58 4 15
cleanup_old_notification_meta()
S
62 5 10
schedule_cron_notices()
S
64 4 9
trigger_cron_notices()
S
65 4 8
get_unread_count()
S
63 4 10
get_notification_meta()
S
60 3 13
render_notification_drawer()
S
70 3 6
run()
S
59 2 13
update_notification_meta()
S
66 2 8
mark_notification_read()
S
67 2 7
sort_notices_by_timestamp()
S
63 1 11
remove_review_request_notice()
S
79 1 3